package cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.service;

import cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.entity.Journal;
import cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.entity.JournalImpact;
import cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.entity.Subject;
import cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.mapper.JournalMapper;
import cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.mapper.SubjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JournalService {
    @Autowired
    JournalMapper journalMapper;

    public List<Journal> getAllJournals() {
        return journalMapper.getAllJournals();
    }
    public List<JournalImpact> getJournalImpacts(){
        return journalMapper.getAllJournalImpacts();
    }
}
